import request from '@/utils/request'

// 查询参数列表
export function prods(queryParams) {
  return request({
    url: '/api/getProds',
    method: 'get',
    params:queryParams

  })
}
export function addProd(data) {
  return request({
    url: '/api/addProd',
    method: 'get',
    params:data
  })
}
export function upAndDown(data) {
  return request({
    url: '/api/upAndDown',
    method: 'post',
    params:data
  })
}
export function select_id(data) {
  return request({
    url: '/api/select',
    method: 'post',
    params:data
  })
}

export function updateOne(data) {
  return request({
    url: '/api/updateOne',
    method: 'post',
    params:data
  })
}
export function selectSign(query) {
  return request({
    url: '/api/selectSign',
    method: 'post',
    params:{
      sign:query
    }
  })
}
export function setClassify(query) {
  return request({
    url: '/api/setClassify',
    method: 'post',
    params:{
      sign:query
    }
  })
}

export function likeSelect(query) {
  return request({
    url: '/api/likeSelect',
    method: 'post',
    params:{
      likeSelect:query
    }
  })
}








